<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>登录</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="<?php echo ADMIN_LAYUI_URL; ?>css/layui.css" media="all">
</head>
<body>
<div style="margin: 10px">
<form class="layui-form" action="" method="post">
    <div class="layui-form-item">
        <label class="layui-form-label">账户</label>
        <div class="layui-input-inline">
            <input type="text" name="username" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" value="">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">密码</label>
        <div class="layui-input-inline">
            <input type="password" name="password" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" value="">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">验证码</label>
        <div class="layui-input-inline">
            <input type="text" name="code" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" value="">
        </div>
        <div style="margin:10px;"><img src="/cloud/index.php/Admin/Manager/verifyImg" onclick="this.src='/cloud/index.php/Admin/Manager/verifyImg/'+Math.random()" alt=""/></div>
    </div>

    <!--<div class="layui-form-item">-->
        <!--<label class="layui-form-label">职务</label>-->
        <!--<div class="layui-input-inline">-->
            <!--<select name="type" lay-filter="aihao">-->
                <!--<option value="0" selected="">程序员</option>-->
                <!--<option value="1">管理员</option>-->
            <!--</select>-->
        <!--</div>-->
    <!--</div>-->

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="submit" class="layui-btn">登录</button>
            <div><?php echo ($error); ?></div>
        </div>
    </div>

</form>
</div>
<script src="<?php echo ADMIN_LAYUI_URL; ?>layui.js" charset="utf-8"></script>
<script>
    layui.use(['form', 'layedit', 'laydate'], function(){
    });
</script>

</body>
</html>